home *** CD-ROM | disk | FTP | other *** search
-
- ================================================================
- === VERSION 3.8 CHANGES ------------------------------------->>>
- ================================================================
-
- New Events :
-
- - xTEXTBOX L T W H Title Text
- A very versatile gadget which allows you to easily display text
- justified within the bounds of a box. Through attributes you
- can change the appearance of the box & text in almost any way.
-
- - xONHELP ON|OFF|AUTO
- This gives you more control over displaying of help messages.
- > If declared, the help messages will NOT appear on the screen's
- title bar, but instead, this event will happen. You can get the
- gadgets'GADHELP text with $$HELP.TEXT and id with $$HELP.GADID
- and show them any other place you want.
- > You can set this gadget to ON, OFF or AUTO
- ON, OFF : sets the help state for this gui only
- AUTO : lets the gui be controlled globally together with all
- the other guis (through the HELP key).
- > You can also give it a GADID and SETGAD it to ON|OFF|AUTO.
-
- - xONCLICK
- Will happen whenever the user clicks in any part of the window
- which is not taken up by a gadget. Note that if you double-click
- you'll get one xOnClick and one xOnDoubleClick (if both defined).
-
- New Commands :
-
- - SETPOINTER GuiFile DEFAULT/HIDE/#Image
- Will allow you to change the pointer which will be used whenever
- the given gui's window is active. You can set an image as a pointer
- or use the preferences or hide it.
-
- - GADREDRAW GuiName LeftGad TopGad RightGad BottomGad Offset
- This provides the best redrawing. It works like PartRedraw
- but you give the GadIDs of the gadgets whose borders will be
- used to calculate the area to erase. "Offset" the number of
- pixels you want these sizes to be shifted by.
-
- - PALETTE LOAD|SAVE|SET|GET|REMAP Source Destination
- will allow to do just about anything involving palettes. See the
- guide for explanation of the arguments.
-
- - SET ImDEV/ImVOL/ImASN/ImDIR/ImFILE ImageAlias
- Will set the images that will be displayed in Dir LVs, for the
- respective items. So <SET ImDEV mydevimage> will cause the image
- named "mydevimage" (which must have been loaded first with
- LoadImage) to be displayed in front of every Device name in the
- Device list. Looks great :)
-
- - IMAGES in Listviews!
- The way to do this is to state the image Alias (ie the name you
- gave it when you loaded it with the "LoadImage" command), anywhere
- in a line of text, starting with the ESCAPE character and "\",
- then the image name, then another "\".
-
- - FULLPATH is a new very usefull keyword for the EXTRACT command.
- It will try and locate a file in your path and return the full
- path & filename or "" if the file is not found.
- > prog = MyProName
- > Extract prog FULLPATH prog
-
- - SET LVSORT NORMAL|DATE|SIZE|EXTENTION will globally set the method
- by which Directory listviews will sort their list. If you give DATE
- for example, the most recent dirs/files will go to the top.
-
- - SET MARGINS Side/Top/TopDistance - globally set title margins &
- distance of font from the gadgets they are attached to. (def=5/10/1)
-
- - SET TBMARGINS Horizontal/Vertical - globally set xTEXTBOX inner margins
- ie the distance the text is from the side of the box. (def=5/4)
-
- Internal variables :
-
- - Variables for xOnHelp event (see above)
- $$HELP.TEXT and $$HELP.GADID
-
- - Variables for : INFO FILE FileName
- $$FILE.LENGTH - file length
- $$FILE.BLOCKS - The number of blocks it occupies
- $$FILE.DATE - date it was last changed
- $$FILE.DAY - day last changed
- $$FILE.TIME - time last changed
- $$FILE.TYPE - either DIR or FILE
- $$FILE.COMMENT - file comment (if any)
-
- - Variables for : INFO VARIABLE VarName
- $$VAR.LENGTH - length of variable (characters)
-
- - $$GAD.IL $$GAD.IT
- will give you the 0-based Left & Top position of the gadget.
-
- - These are used in the guis:Gui4Cli.gc gui.
- G4C.LVFILL 1=Draw the listview fill-in box at bottom, 0=don't
- G4C.NOVOL 1=Do not show volumes in device list, 0=Show them
- G4C.MARGINS Returns 3 numbers "SideMargin TopMargin OffSet"
- G4C.TBMARGINS Returns 2 numbers (xTextBox margins) "Horz Vert"
- G4C.LVSORT 0=Normal, 1=Date, 2=Ssize, 3=Extension
-
- Attributes (ATTR & SETATTR) :
-
- - Attributes for xTEXTBOX:
- TBSTYLE apen/bpen/drawmode/Justify
- TBOX apen/bpen/bgpen/border/recess
-
- - TITLE apen/bpen/drawmode/HorzJustify/VertJustify/title
- Attaches a fancy, highly customizable title to any type of gadget
- or graphic.
-
- - RESIZE LTWH (example: Resize 0021)
- Super cool new attr which lets you describe exactly how a gui
- should resize itself. The argument is a mask, each digit is one
- of Left, Top, Width, Height and can be :
- 0 = no resize,
- 1 = Proportional resize (this is the Normal resize)
- 2 = Delta resize (add the full length change)
- 3 = Max resize (the sum of both (1) and (2) above)
-
- - TIPOS Position
- Will set the cursor position of a TextIn type gadget
-
- - FRAME FrameTypeMask(type|recessed)
- Will draw a frame around the given gadget. The frame is given as
- a mask of 2 numbers :
- 1st number is type: 1=Button, 2=Ridge, 3=IconDrop
- 2nd number is : 0=Out(normal), 1=Recessed.
-
- Improvements :
-
- - Better resizing and font sensitivity.
- That's what better have happened after all the thousands of
- hours I spent going over the relevant code..
-
- - You can now place gadgets over graphics. Before, the graphics
- were drawn over the gadgets. Now they are drawn below them (I
- add them after the window has opened).
-
- - The COPY command (also LVCOPY and ACTION COPY) will now check if
- the destination file exists and is more recent than the source.
- If yes, it will warn you (as is done by Dir-Opus, Windows etc)
- and ask you if it should proceed (with Yes/Yes to all/No etc..)
-
- Also, the date of the new file is now set to the same as the
- old. There is better error/abort checking as well..
-
- - ASL requesters and ezreqs will now open on the frontmost
- screen, if the window that called them is not open, or, if
- the font screen is not public, on the workbench.
-
- - xLISTVIEW gadgets do not resize properly, because gadtools
- insists on limiting their height to a multiple of the font
- height. I have added a drawing routine which will fill in the
- remmaining space at the bottom with a beveled box.
- This can be disabled globally with <SET LVFILL OFF>
-
- Bugs & Fixes :
-
- - The LAUNCH command now knows about your search paths, so
- you can launch say 'fsearch' and not 'guis:c/fsearch'
-
- - The $$FILE internal var used in the ACTION/LVACTION CLI
- command will now return the full file name & path.
-
- - Reworked the window resizing code - it should now behave a
- bit better (I hope..)
-
- - Fixed INFO GADGET - it did not set the current gadget.
-
- - The wait pointer used will now be the one you set with Prefs.
-
- - GuiLoad did not deal well with filenames containing spaces
- - GuiScreen #ScreenName .. did not work
- * above 2 bugs appeared in v3.7..
-
- - Enhanced DEBUG output somewhat, hey what..
-
- - MOVE used to abort when using rename - i.e. when moving a file
- in the same volume - if the destination existed - fixed.
-
- - Fixed xOnDoubleClick which did not work..
-
-